package com.ruoyi.marketing.controller;

import com.ruoyi.framework.web.domain.AjaxResult;
import com.ruoyi.marketing.pojo.bo.CreativityBo;
import com.ruoyi.marketing.service.CreativityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description: 
 *          ________
 *          ___  __/______________
 *          __  /_ ___  __ \  ___/
 *          _  __/ __  /_/ / /__
 *          /_/    _  .___/\___/
 *                 /_/
 * @author: www.fpcs.top
 *
 * @create: 2021-05-27 15:23
 */
@RestController
@RequestMapping("creativity/")
public class CreativityController {


    @Autowired
    private CreativityService creativityService;


    @GetMapping("statistics")
    public AjaxResult creativityStatistics(@RequestBody CreativityBo creativityBo){
        creativityService.getCreativityStatistics(creativityBo);
        return AjaxResult.success();
    }
    
}